package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("归属地实体")
@TableName("legal_area_city")
public class LegalAreaCity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="area_id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long areaId;

    @ApiModelProperty(value = "市名")
    private String areaName;

    @ApiModelProperty(value = "")
    private Integer areaType;

    @ApiModelProperty(value = "")
    private Long parentId;

    @ApiModelProperty(value = "拼音缩写")
    private String areaWord;

}